Returns the file name portion of a complete path and file name. Also available as a native function in Visual FoxPro.
Syntax
JustFName(cFilename)
cFilename
Specifies the name, which may include the full path, of the file for which you want only the file name.
Return Type
Character